package com.softtown.modules.dapai.dao;

import com.softtown.common.dao.BaseDao;
import com.softtown.modules.dapai.entity.CompLeaseManageDetailEntity;
import com.softtown.modules.dapai.entity.CompLeaseManageEntity;
import com.softtown.modules.dapai.entity.CompLeaseOrderDetailEntity;
import com.softtown.modules.dapai.entity.CompLeaseOrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CompLeaseManageDao extends BaseDao<CompLeaseManageEntity> {

    List<CompLeaseManageEntity> getLeaseManagePageList(@Param("compId")Long compId, @Param("pram") String pram );

    CompLeaseManageEntity  getLeaseManageById(@Param("compId")Long compId,@Param("id")Long id);

    List<CompLeaseManageDetailEntity> getManageDetailById(@Param("compId")Long compId, @Param("id")Long id);

}
